#include <reg52.h>

void timer1_init();
void timer1_start();
void timer1_stop();

sbit test_point = P0^1;

void timer_test() {
	timer1_init();
	//TL0 = 0xfe;
	TH0 = 0xa3;
	timer1_start();
	while(1);
}

void timer1_init() {
	EA = 1;
	ET0 = 1;
	TMOD = 0x02;
}

void timer1_start() {
	TR0 = 1;
}

void timer1_stop() {
	TR0 = 0;
}
